import Types from '../actionTypes';
const initState = {
  token: '',
  jurisdiction: [],
};
export default (state = initState, action) => {
  const newState = JSON.parse(JSON.stringify(state));
  switch (action.type) {
    case Types.LOGIN:
      // newState.token = action.data;
      // newState.jurisdiction
      return newState;
    default:
      console.log('Types no match in login.js ....');
  }
  return state;
};
